home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _CCBA27F54D74443A9321E6120C19BF32 < prev    next >
Encoding:
Text File  |  2004-04-05  |  762 b   |  53 lines

  1. Shader()
  2. {
  3.     sortweight("background")
  4.     Pass()
  5.     {
  6.         Pixelshader("Moon.psh")
  7.         tmu()
  8.         {
  9.             Texture()
  10.             {
  11.                 Image("SunFace.dds")
  12.             }
  13.  
  14.         }
  15.         tmu()
  16.         {
  17.             TexMod("scale", "const", 1.02, 0, 0, "const", 1.02, 0, 0)
  18.             TexMod("translate", "lin", 0, 0.001, 0, "const", -0.01, 0, 0)
  19.             Texture()
  20.             {
  21.                 Mapchannel(0)
  22.                 Image("SunFace.dds")
  23.             }
  24.         }
  25.         BlendFunc("src_alpha", "inv_src_alpha")
  26.         Depthfunc("always", 0)
  27.         NoFog()
  28.     }
  29.  
  30.  
  31.     Cull("cw")
  32. }
  33.  
  34. Shader()
  35. {
  36.     sortweight("background")
  37.     Pass()
  38.     {
  39.         tmu()
  40.         {
  41.             colorop("arg1", "tfactor", "tfactor","tfactor")
  42.             alphaop("arg1", "tfactor", "tfactor","tfactor")
  43.         }
  44.         tfactor(1,1,1,1)
  45.         BlendFunc("zero", "one")
  46.         Depthfunc("always", 0)
  47.         NoFog()
  48.     }
  49.  
  50.  
  51.     Cull("cw")
  52. }
  53.